<?php
session_start();
require_once 'php_includes.php';

//Make sure logged in
checkLogin();

//make sure it is a manager logged on
checkManager();
?>  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

  <head>
    <title>Payroll and Timesheet Management Website</title>
    <link rel="stylesheet" type="text/css" href="styles.css"/>
	<script type="text/javascript" src="pwcheck.js">
	</script>
  </head>
  <body>
  
	<?php writeHeader(); ?>
	
	<p></p>
	<div class="center">
		<p>
	<span class="pageheader">Add employee</span>
	</p>
	<form action ="insert.php" method="post">
		<div class="left_side">
		Employee ID:<br/>
		Employee Password:<br/>
	</div>
	<div class="middle_cont">
		<input type="text" name="userid" id="userid"/><br/>
		<input type="text" name="password" id="password" /><br/>
			<!-- password is text and visible for manager ease, user should change their password-->
	</div>
	<p>
		<input type="submit" value="Add Employee" class="button" onclick="return checkUsernamePassword();" />
	</p>
	</form>
  </body>
</html>
		